import request from '@/utils/request'

export default {

    /**
     *  分页显示讲师列表信息
     * @param {*} page  页码
     * @param {*} size  条数
     */
    getTeacherFrontPage(page,size){
        return request({
            url:`/eduservice/teacher/front/get/teacher/front/pagelist/${page}/${size}`,
            method:"get"
        });
    },
    /**
     *  根据 讲师id 获取讲师信息即讲师所属的课程列表
     * @param {*} teacherId 讲师id
     */
    getTeacherInfoByIdAndCourseList(teacherId){
        return request({
            url:`/eduservice/teacher/front/get/teacher/info/course/${teacherId}`,
            method:"get"
        });
    }
}